package cn.getech.data.development.model.vo;

import cn.getech.data.development.utils.spring.CustomerDoubleSerialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "CM集群总计信息")
public class CMClusterSumVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("集群个数")
    private Integer clusterNum;

    @ApiModelProperty("cup使用率")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double cpuPercentAcross;

    @ApiModelProperty("内核")
    private Integer numCores;

    @ApiModelProperty("总共磁盘百分比")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double diskPercentageUsedSum;

    @ApiModelProperty("总共磁盘总量")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double diskTotalSum;

    @ApiModelProperty("总共磁盘使用量")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double diskUsedSum;

    @ApiModelProperty("总共物理内存百分比")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double physicalMemoryPercentageUsedSum;

    @ApiModelProperty("总共物理内存总量")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double physicalMemoryTotalSum;

    @ApiModelProperty("总共物理内存使用量")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double physicalMemoryUsedSum;

    @ApiModelProperty("队列个数")
    private Integer queueNum;

}
